package practice.i_interface.interface_01;

public class test {
    public static void main(String[] args) {
        Dog d = new Dog("狗",6);
        System.out.println(d.getName()+"你是狗");
        d.eat();
        d.swim();
    }
}
